car.prototype = {
    height:1400,
    lang:4900,
    carName:'BMW'
}

car.prototype.carName = 'BMW'//增加

function car(color,owner) {
    
    this.color = color
    this.owner = owner

}

var car1 = new car('pink','lasf')
var car2 = new car('green','xqm')

console.log(car1);
console.log(car2);